package com.ruoyi.project.warehouse.mapper;

import java.util.List;
import com.ruoyi.project.warehouse.domain.WareWarehouseTotal;

/**
 * 总仓库Mapper接口
 *
 * @author 萧雪
 * @date 2022-09-03
 */
public interface WareWarehouseTotalMapper
{
    /**
     * 查询总仓库
     *
     * @param id 总仓库主键
     * @return 总仓库
     */
    public WareWarehouseTotal selectWareWarehouseTotalById(Long id);

    /**
     * 查询总仓库列表
     *
     * @param wareWarehouseTotal 总仓库
     * @return 总仓库集合
     */
    public List<WareWarehouseTotal> selectWareWarehouseTotalList(WareWarehouseTotal wareWarehouseTotal);


    //根据规格查询物品信息
    public WareWarehouseTotal findBySpecifications(String specifications);

    /**
     * 新增总仓库
     *
     * @param wareWarehouseTotal 总仓库
     * @return 结果
     */
    public int insertWareWarehouseTotal(WareWarehouseTotal wareWarehouseTotal);

    /**
     * 修改总仓库
     *
     * @param wareWarehouseTotal 总仓库
     * @return 结果
     */
    public int updateWareWarehouseTotal(WareWarehouseTotal wareWarehouseTotal);

    /**
     * 删除总仓库
     *
     * @param id 总仓库主键
     * @return 结果
     */
    public int deleteWareWarehouseTotalById(Long id);

    /**
     * 批量删除总仓库
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWareWarehouseTotalByIds(Long[] ids);
}
